package mapper;

import org.apache.ibatis.annotations.Param;
import po.DeptEmp;
import po.DeptEmpExample;
import po.DeptEmpKey;

import java.util.List;

public interface DeptEmpMapper {
    int countByExample(DeptEmpExample example);

    int deleteByExample(DeptEmpExample example);

    int deleteByPrimaryKey(DeptEmpKey key);

    int insert(DeptEmp record);

    int insertSelective(DeptEmp record);

    List<DeptEmp> selectByExample(DeptEmpExample example);

    DeptEmp selectByPrimaryKey(DeptEmpKey key);

    int updateByExampleSelective(@Param("record") DeptEmp record, @Param("example") DeptEmpExample example);

    int updateByExample(@Param("record") DeptEmp record, @Param("example") DeptEmpExample example);

    int updateByPrimaryKeySelective(DeptEmp record);

    int updateByPrimaryKey(DeptEmp record);
}